← Index
NYTProf Performance Profile   
For starman worker -M FindBin --max-requests 50 --workers 2 --user=kohadev-koha --group kohadev-koha --pid /var/run/koha/kohadev/plack.pid --daemonize --access-log /var/log/koha/kohadev/plack.log --error-log /var/log/koha/kohadev/plack-error.log -E deployment --socket /var/run/koha/kohadev/plack.sock /etc/koha/sites/kohadev/plack.psgi
  Run on Fri Jan 8 14:31:06 2016
Reported on Fri Jan 8 14:31:39 2016

Filename(eval 1117)[/usr/share/perl5/CGI.pm:932]
StatementsExecuted 20 statements in 92µs
Eval Invoked At/usr/share/perl5/CGI.pm line 932
Sibling evals1, 2, 3, 4, 5, 6
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
0000s0sCGI::::deleteCGI::delete
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package CGI; #### Method: delete
2# Deletes the named parameter entirely.
3####
4sub delete {
5225µs25µs my($self,@p) = self_or_default(@_);
# spent 5µs making 2 calls to CGI::self_or_default, avg 3µs/call
6236µs219µs my(@names) = rearrange([NAME],@p);
# spent 19µs making 2 calls to CGI::Util::rearrange, avg 10µs/call
721µs my @to_delete = ref($names[0]) eq 'ARRAY' ? @$names[0] : @names;
82200ns my %to_delete;
921µs for my $name (@to_delete)
10 {
1124µs CORE::delete $self->{param}{$name};
122400ns CORE::delete $self->{'.fieldnames'}->{$name};
1323µs $to_delete{$name}++;
14 }
15219µs210µs @{$self->{'.parameters'}}=grep { !exists($to_delete{$_}) } $self->param();
# spent 10µs making 2 calls to CGI::param, avg 5µs/call
1622µs return;
17}
18
19;